package com.min.star.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.min.star.model.Teacher;

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher>{

	Page<Teacher> findPage(@Param("page") Page<Teacher> page, @Param("teacher") Teacher teacher);

	Teacher login(@Param("teacher")Teacher teacher);

	int editInfo(@Param("name") Object name, @Param("value") Object value,@Param("id") Object id);

}
